<template>
  <div>接口</div>
</template>
<script setup lang="ts">
import type { PersonInter, PersonListType } from '@/types/demo.ts'

const userInfo: PersonInter = reactive({
  id: '1',
  name: 'zs',
  age: 18,
})

const userList = ref<PersonInter[]>([])
const userList2 = ref<PersonListType>([{ id: '1', name: 'li', age: 18 }])
</script>
<style scoped></style>
